package test00.lx04;

import java.util.Arrays;

/**
 * @author CSY
 * @date 2025 - 04 - 02
 */
public class UpSort {
    public static Student[] upSort(Student[] stus){
        Arrays.sort(stus, (o1, o2)->o2.getAge()-o1.getAge());
        return stus;
    }
}
